import { Field, InputType } from '@nestjs/graphql';

// 客户端传来的数据
@InputType()
export class UserInput {
  @Field({ description: '昵称' })
  name: string;
  @Field({ description: '简介' })
  desc: string;
  @Field({ description: '头像' })
  avatar: string;
}
